package io.renren.modules.hos.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.hos.entity.MedicalAdviceEntity;
import io.renren.modules.hos.form.AdviceForm;

import java.util.Map;

/**
 * 
 *
 * @author ryf
 * @email 2559228480@qq.com
 * @date 2021-12-13 11:19:14
 */
public interface MedicalAdviceService extends IService<MedicalAdviceEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 添加一日嘱
     * @param doctorId
     * @param adviceForm
     * @return
     */
    boolean addAdvice(Long doctorId, AdviceForm adviceForm);

    PageUtils queryByPatientId(Long patientId, Map<String, Object> params);

    PageUtils queryBuDoctorId(Long doctorId, Map<String, Object> params);
}

